package org.bite.mybatis.mapper;

import org.apache.catalina.User;
import org.apache.ibatis.annotations.Mapper;
import org.bite.mybatis.model.UserInfo;

import java.util.List;


/*
* ⽅法定义 Interface 接口
* */
@Mapper
public interface UserInfoXmlMapper {

    Integer insert(UserInfo userInfo);

    Integer delete(Integer id);

    Integer update(UserInfo userInfo);

    List<UserInfo> select();

    List<UserInfo> select2();

    Integer insertByCondtion(UserInfo userInfo);

    List<UserInfo> queryUserByCondtion(UserInfo userInfo);

    Integer updateByCondition(UserInfo userInfo);
    
    Integer batchDelete (List<Integer> ids);
}
